﻿//  Copyright (c) 2010 Ray Liang (http://www.dotnetage.com)
//  Dual licensed under the MIT and GPL licenses:
//  http://www.opensource.org/licenses/mit-license.php
//  http://www.gnu.org/licenses/gpl.html

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DNA.Mvc.jQuery
{
    public class TabView:TitleView
    {
        public string RemoteContentUrl { get; set; }

        public override void RenderContent(System.Web.UI.HtmlTextWriter writer)
        {
            if ((string.IsNullOrEmpty(RemoteContentUrl)) && (!Template.IsEmpty))
                Template.WriteTo(writer);
        }
    }
}
